package com.shopping.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.po.Cart;

public interface CartDao {
	public void inserCart(Cart cart);
	public List<Cart> selectCartbyStock_id(@Param("stock_id")Integer stock_id,@Param("user_id")Integer user_id);
	public List<Cart> selectCartByUser(@Param("user_id")Integer user_id);
	public void deleteCartById(@Param("cart_id")Integer cart_id);
}
